package net;

import java.io.Serializable;

public class SecurePackage implements Serializable{


	private static final long serialVersionUID = 1L;
	
	private byte[] key;
	private byte[] data;
	private byte[] signedData;

	public byte[] getKey() {
		return key;
	}

	public void setKey(byte[] key) {
		this.key = new byte[key.length];
		System.arraycopy(key, 0, this.key, 0, key.length);
	}

	public byte[] getData() {
		return data;
	}

	public void setData(byte[] file) {
		this.data = new byte[file.length];
		System.arraycopy(file, 0, this.data, 0, file.length);
	}

	public byte[] getSingnedData() {
		return signedData;
	}

	public void setSingnedData(byte[] sing) {
		this.signedData = new byte[sing.length];
		System.arraycopy(sing, 0, this.signedData, 0, sing.length);
	}	
}
